package com.example.mylearn.designPattern.chainOfResponsibility;

/**
 * @author Dreamer
 */
public class OrderAmountCalculate extends Handler{

    @Override
    public void process(OrderInfo orderInfo) {
        System.out.println("订单计算");
        System.out.println(orderInfo);
        handler.process(orderInfo);
    }
}
